package day03.homework.standard;

public class GuanXiOper2 {
    public static void main(String[] args) {
        System.out.println("1.声明几个变量，演示最基本的>，<，>=，<=，==，!=操作");
        int a = 4, b = 7, c = 10;
        boolean d = b > c;
        System.out.println(d);// false
        System.out.println(a < c);// true
        System.out.println(a == b);// false
        System.out.println(b >= c);// false
        System.out.println(a <= c);// true
        System.out.println(b != a);// true

        System.out.println("2.演示关系运算符和算术运算符联合使用的效果");
        System.out.println(a + b > c);// true
        System.out.println(a * b < c);// false
        System.out.println(c - b == a);// false
        System.out.println(c / a >= b);// false
        System.out.println(c % b <= a);// true


    }
}
